<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header">
	<title>积分审批</title>
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-integralApproval-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">审批编号：</label>
				<div class="col-sm-8">
					<input id="approvalNum" name="approvalNum" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">审批标题：</label>
				<div class="col-sm-8">
					<input id="approvalTitle" name="approvalTitle" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">审批内容：</label>
				<div class="col-sm-8">
					<input id="approvalContent" name="approvalContent" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">关联用户id：</label>
				<div class="col-sm-8">
					<input id="userId" name="userId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">员工姓名：</label>
				<div class="col-sm-8">
					<input id="userName" name="userName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">员工头像：</label>
				<div class="col-sm-8">
					<input id="userImg" name="userImg" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">申请人电话也是唯一标识：</label>
				<div class="col-sm-8">
					<input id="userPhone" name="userPhone" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">所属部门：</label>
				<div class="col-sm-8">
					<input id="userDept" name="userDept" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">部门id：</label>
				<div class="col-sm-8">
					<input id="userDeptId" name="userDeptId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">职位id：</label>
				<div class="col-sm-8">
					<input id="userPostId" name="userPostId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">员工职位：</label>
				<div class="col-sm-8">
					<input id="userPost" name="userPost" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">审请人姓名：</label>
				<div class="col-sm-8">
					<input id="tiJiaoName" name="tiJiaoName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">申请积分：</label>
				<div class="col-sm-8">
					<input id="tiJiaoNameImg" name="tiJiaoNameImg" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">积分类型：</label>
				<div class="col-sm-8">
					<input id="integralTypeId" name="typeId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">申请时间：</label>
				<div class="col-sm-8">
					<input id="sqTime" name="sqTime" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">审批时间：</label>
				<div class="col-sm-8">
					<input id="spTime" name="spTime" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">审批转态(0,审批中 1审批通过，2审批不通过，3撤销审批 )：</label>
				<div class="col-sm-8">
					<input id="status" name="status" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">申请积分：</label>
				<div class="col-sm-8">
					<input id="sqIntegral" name="sqIntegral" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">审批备注：</label>
				<div class="col-sm-8">
					<input id="spRemark" name="spRemark" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">申请时间：</label>
				<div class="col-sm-8">
					<input id="approvalTime" name="approvalTime" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">上传图片1：</label>
				<div class="col-sm-8">
					<input id="approvalImg1" name="approvalImg1" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">上传图片2：</label>
				<div class="col-sm-8">
					<input id="approvalImg2" name="approvalImg2" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">上传图片3：</label>
				<div class="col-sm-8">
					<input id="approvalImg3" name="approvalImg3" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">上传图片4：</label>
				<div class="col-sm-8">
					<input id="approvalImg4" name="approvalImg4" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">上传图片5：</label>
				<div class="col-sm-8">
					<input id="approvalImg5" name="approvalImg5" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">上传图片6：</label>
				<div class="col-sm-8">
					<input id="approvalImg6" name="approvalImg6" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">上传图片7：</label>
				<div class="col-sm-8">
					<input id="approvalImg7" name="approvalImg7" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">上传图片8：</label>
				<div class="col-sm-8">
					<input id="approvalImg8" name="approvalImg8" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">上传图片9：</label>
				<div class="col-sm-8">
					<input id="approvalImg9" name="approvalImg9" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "integral/integralApproval"
		$("#form-integralApproval-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-integralApproval-add').serialize());
	        }
	    }
	</script>
</body>
</html>
